<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="../../infrastructure/test.xsl"?>
<testcase
  xmlns="http://xbrl.org/2008/conformance"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://xbrl.org/2008/conformance ../../infrastructure/test.xsd"
  xmlns:xbrlfe="http://xbrl.org/2008/formula/error"
  xmlns:binding="http://xbrl.org/2008/binding/errors"
  xmlns:label="http://xbrl.org/2008/label/errors"
  xmlns:reference="http://xbrl.org/2008/reference/errors"  
  >
  <creator>
    <name>Herm Fischer</name>
    <email>fischer@markv.com</email>
  </creator>
  <number>0017</number>
  <name>Weighted Average of Dimensions (COREP Use Case 18)</name>
  <description>
Victor Morilla's COREP Use Case.  Shows consistency assertion of formula computing weighted average of dimensional child member facts.  See enclosed WeightedAverage.ppt
  </description>
  <reference specification="FORMULA" id="sec-formula"/>
  <reference specification="CONSISTENCY-ASSERTION" id="sec-processing-model"/>         

  <variation id="V-01">
    <name>Dimensional aggregation of weighted average</name>
    <description>
      The weighted average of dimensional
      children are checked against the dimensional parent fact using a consistency assertion.
      See powerpoint enclosed for further details.
    </description>
    <data>
      <instance readMeFirst="true">WgtAvg-inst.xbrl</instance> 
      <schema readMeFirst="false">WeightedAverage.xsd</schema>
      <linkbase readMeFirst="false">formulae.xml</linkbase>
      <linkbase readMeFirst="false">WeightedAverage-definition.xml</linkbase>
      <linkbase readMeFirst="false">WeightedAverage-label.xml</linkbase>
    </data>
    <result>
      <assertionTests 
         assertionID="assertion"
         countSatisfied="3"
         countNotSatisfied="0" />
      <instance>WgtAvg-inst_results.xbrl</instance>
    </result>
  </variation>
  
</testcase>






